package com.shujia.duotai;

/*
理发师（Barber）: 剪头发
医生（Doctor）: 动手术
演员（Actor）: 暂停
 */
public class CutMan {

    public String name;

    private String hobby = "游泳";

    public static int height = 180;

    public CutMan() {
        System.out.println("CutMan...");
    }

    public static void sleep() {
        System.out.println("睡觉...");
    }

    public void cut() {
        System.out.println("剪东西");
    }


    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }
}
